<template>
	<view class="message-index-page container">
		<view class="msg-content">

			<view class="msg-list">
				<image class="msg-list-img" :src="$fileUrl+'msg-sys.png'"></image>
				<view class="msg-list-box">
					<view class="msg-list-top">
						<view class="msg-list-name">{{sysInfo.title}}</view>
						<view class="msg-list-time">2025-12-25 23:45</view>
					</view>
					<view class="msg-list-bottom">{{sysInfo.msg}}</view>
				</view>
			</view>

		</view>
	</view>
</template>

<script setup lang="ts">
	import { onMounted, reactive, ref } from 'vue';
	import { getStorage, hideLoading, showLoading } from '@/common/util';

	import { onShow } from "@dcloudio/uni-app"
	const myUserInfo = ref<any>({})
	const sysInfo = ref(
		{ title: '支付成功提醒', id: '1', msg: '您得订单as000002已支付成功，支付金额65.22,感谢您得支持' }
	)
	onShow(async () => {

	})
	onMounted(() => {

	})
</script>

<style lang="scss">
	.message-index-page {
		padding: 20rpx;
		padding-bottom: 120rpx;

		.msg-content {
			background-color: #fcfcfc;
			margin-top: 20rpx;
		}

		.msg-list {
			display: flex;
			padding:  30rpx;
			border-top: solid 1px #eee;
		}

		.msg-list-img {
			width: 70rpx;
			height: 70rpx;
		}

		.msg-list-box {
			padding-left: 20rpx;
			flex-grow: 1;
			width: 1px;
			position: relative;

			.prop-number {
				left: -10rpx;
				position: absolute;
				width: 15rpx;
				height: 15rpx;
				display: block;
				padding: 0;
				border-radius: 15rpx;
				top: 0rpx;
				background-color: #FF315A;
			}
		}

		.msg-list-top {
			display: flex;
			align-items: center;
			justify-content: space-between;
		}

		.msg-list-name {
			font-size: 30rpx;
			color: #333;
			font-weight: bold;
		}

		.msg-list-time {
			font-size: 24rpx;
			color: #666;
		}

		.msg-list-bottom {
			font-size: 26rpx;
			color: #999;
			margin-top: 20rpx;
			width: 100%;
			line-height: 40rpx;
		}
	}
</style>